#include <all_wlib.h>
#pragma hdrstop
USERES("Balls.res");
USEFORM("bf_Main.cpp", MainForm);
USELIB("..\LIBS\CXImage\zlib.lib");
USELIB("..\LIBS\CXImage\cximage.lib");
USELIB("..\LIBS\CXImage\jbig1.lib");
USELIB("..\LIBS\CXImage\jpeg.lib");
USELIB("..\LIBS\CXImage\libpng.lib");
USELIB("..\LIBS\CXImage\tiff.lib");
USERC("Balls_rc.rc");
USEFORM("bf_Config.cpp", ConfigForm);
USEUNIT("utils.cpp");
USELIB("D:\cb5\Lib\ddraw.lib");
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  {
    try {
      Application->Initialize();
      Application->Title = "Balls";
                 Application->CreateForm(__classid(TMainForm), &MainForm);
                 Application->Run();
    }
    catch (Exception &exception) {
       Application->ShowException(&exception);
    }
 return 0;
}